Chapter 25 Introducing the SAS Macro Language
25.2 Macro Variables: What Are They?
25.3 Some Built-In Macro Variables
25.4 Assigning Values to Macro Variables with a %LET Statement
25.5 Demonstrating a Simple Macro
25.7 Another Example of Using a Macro Variable as a Prefix
25.8 Using a Macro Variable to Transfer a Value between DATA Steps
25.1 Introduction
Although the SAS macro language is usually thought of as an advanced topic, there are aspects of this language that are useful and easy to use, even to the beginning or intermediate SAS programmer. This chapter gives you the tools to use macro variables and write simple macros. Macros are particularly useful if you want to ...